package com.bbzn.device.client.dto.ct.response;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Author wulongbo
 * @Date 2021/9/17 11:50
 * @Version 1.0
 */

@Getter
@Setter
public class OnlineOfflineNotify implements Serializable {

    private static final long serialVersionUID = 7049809252539666784L;
    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 产品ID
     */
    private String productId;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 消息类型=deviceOnlineOfflineReport
     */
    private String messageType;

    /**
     * 上线：1，下线：0
     */
    private int eventType;

    /**
     * 时间戳
     */
    private long timestamp;

    /**
     * 设备imei
     */
    private String imei;
}
